/**
    ******************************************************************************
    * @file    cityBankManager.h
    * @author  debian
    * @version V1.0.0
    * @date    2020-01-21
    * @brief   市行长
    ******************************************************************************
    * @attention
    *
    *
    ******************************************************************************
    */ 

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __CITYBANKMANAGER_H
#define __CITYBANKMANAGER_H

#ifdef __cplusplus
    extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/


/** @addtogroup CityBankManager
    * @{
    */
class CityBankManager : public Handler
{
public:
     CityBankManager(Handler *next) : Handler(next) {
        printf("CityBankManager\n");
        set_max_loan(max_loan);
    }

    // void show() {
    //     printf("CityBankManager %p %d\n", next_handler, max_loan);
    // }
protected:
    unsigned int max_loan = 1000;
};


/* Exported types ------------------------------------------------------------*/
/** @defgroup 
    * @{
    */ 



/**
    * @}
    */


/* Exported constants --------------------------------------------------------*/

/* Exported macro ------------------------------------------------------------*/

/* Exported functions --------------------------------------------------------*/ 


/**
    * @}
    */

#ifdef __cplusplus
}
#endif

#endif /* __CITYBANKMANAGER_H */

/******************* (C) 2020 HOME 深圳龙华 *****END OF FILE****/

